package wenjie.chen.transfer.command;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class TransferCommand {
    @NotNull
    private String remitterAccountId;
    @NotNull
    private String receiverAccountId;
    @Range(min = 0)
    private double amount;
}
